/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.its.dsw2.difsystem.dao;

import java.util.List;
import javax.ejb.Local;
import mx.its.dsw2.difsystem.modelo.Appointment;

/**
 *
 * @author Karina
 */
@Local
public interface AppointmentDaoLocal {

    void create(Appointment appointment);

    void edit(Appointment appointment);

    void remove(Appointment appointment);

    Appointment find(Object id);

    List<Appointment> findAll();

    List<Appointment> findRange(int[] range);

    int count();
    
}
